package com.joe.springboot.po.response;

import java.io.Serializable;

public class SuccResponse implements Serializable {

    private int code;

    private String flag = "SUCC";

    private String message;

    private Object data;

    public SuccResponse(){

    }

    public SuccResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public Object getData() {
        return this.data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}